package com.sc.mapper;

import com.sc.pojo.Class;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClassMapper {
    int deleteByPrimaryKey(Integer id);
    int delAllById(Integer[] id);
    int insert(Class record);

    int insertSelective(Class record);

    Class selectByPrimaryKey(Integer id);
    Class selectByTid(Integer tid);
    int updateByPrimaryKeySelective(Class record);

    int updateByPrimaryKey(Class record);

    List<Class> query(@Param("k") String keyword);

}